get /cloudextensions/{cloudExtensionId}/cloud/gcp/machinetypes
Get GCP Machine Types (getMachineTypes)
Gets the GCP Machine Types.
Path parameters
cloudExtensionId (required)
Path Parameter — Cloud Extension ID
Return type
array[InstanceType]
VM instance type
cpus (optional) |
Integer Instance Type Number of CPUs format: int32 |
maxDataDiskCount (optional) |
Integer Instance Maximum Number of Data Disks format: int32 |
memory (optional) |
Double VM Instance Memory Size format: double |
name (optional) |
String VM Instance Name |
resourceDiskSize (optional) |
Double VM instance Resource Disk Size format: double |
Example data
Content-Type: application/json
[
{
"resourceDiskSize" : 0.0,
"maxDataDiskCount": 1,
"memory": 1.0,
"cpus" : 1,
"name" : "t2.micro"
}
]
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
- application/json
Responses
200
OK
Default
Error ErrorInfo
errorCode (optional) |
String |
url(optional) |
String |
message (optional) |
String |